<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="进行中检测任务" name="1">
        <processLaboratoryEnable />
      </el-tab-pane>
      <el-tab-pane label="已暂停检测任务" name="2">
        <processLaboratoryStop />
      </el-tab-pane>
      <el-tab-pane label="历史检测任务" name="3">
        <hisLaboratory />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import processLaboratoryEnable from './index_laboratoryEnable.vue'
import processLaboratoryStop from './index_laboratoryStop.vue'
import hisLaboratory from './index_laboratoryHis.vue'
export default {
  components: { processLaboratoryEnable, processLaboratoryStop, hisLaboratory },
  data() {
    return {
      activeName: '1'
    }
  },
  methods: {
    handleClick() {}
  }
}
</script>
